package com.youlai.boot.modules.tp.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 实时数据响应VO
 * 
 * @author xiheforever
 * @since 2025-06-04
 */
@Schema(description = "实时数据")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RealTimeDataVO {

    @Schema(description = "在线用户数")
    private Integer onlineUsers;

    @Schema(description = "今日GMV")
    private BigDecimal todayGMV;

    @Schema(description = "今日订单量")
    private Integer todayOrders;

    @Schema(description = "实时访客数")
    private Integer realtimeVisitors;

    @Schema(description = "当前转化率(%)")
    private BigDecimal currentConversionRate;

    @Schema(description = "最后更新时间")
    private String lastUpdateTime;

    @Schema(description = "数据刷新状态")
    private String refreshStatus;
} 